package com.john.exception;

import com.john.Enum.ResultEnum;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 自定义异常父类
 * 日期 2021/5/27 16:48
 * 创建者：john driver
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class CustomException extends RuntimeException{
    private  ResultEnum resultEnum;
    private String method;
}
